<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>SPI Driver: Baud-Rate Attributes</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SPI Driver
   &#160;<span id="projectnumber">1.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group1.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">Baud-Rate Attributes</div>  </div>
</div><!--header-->
<div class="contents">

<p>SPI transfer baud-rate.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga970be944bbbac5f4c297d2ed51af71ee"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga970be944bbbac5f4c297d2ed51af71ee"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SPI_BAUD_25000</b>&#160;&#160;&#160;0x29</td></tr>
<tr class="separator:ga970be944bbbac5f4c297d2ed51af71ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaecc4730b81eb512cd6189473a70a2145"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaecc4730b81eb512cd6189473a70a2145"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SPI_BAUD_62500</b>&#160;&#160;&#160;0x09</td></tr>
<tr class="separator:gaecc4730b81eb512cd6189473a70a2145"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaead2c547a8d3eb217fe1d5c898245334"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaead2c547a8d3eb217fe1d5c898245334"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SPI_BAUD_100000</b>&#160;&#160;&#160;0x27</td></tr>
<tr class="separator:gaead2c547a8d3eb217fe1d5c898245334"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5ece894b3ae931673cee8e04e4dcb97b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga5ece894b3ae931673cee8e04e4dcb97b"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SPI_BAUD_500000</b>&#160;&#160;&#160;0x06</td></tr>
<tr class="separator:ga5ece894b3ae931673cee8e04e4dcb97b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga94dbbc530f6e24997ec477b7417b3466"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga94dbbc530f6e24997ec477b7417b3466"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SPI_BAUD_1000000</b>&#160;&#160;&#160;0x05</td></tr>
<tr class="separator:ga94dbbc530f6e24997ec477b7417b3466"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8f88fba39a8fac6bf674df6e525ba09f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8f88fba39a8fac6bf674df6e525ba09f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SPI_BAUD_4000000</b>&#160;&#160;&#160;0x03</td></tr>
<tr class="separator:ga8f88fba39a8fac6bf674df6e525ba09f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>SPI transfer baud-rate. </p>
<p>A simplified way for specifying the baud rate to the driver, common values are defined at 64MHz peripheral clock. This 8-bit value is defined, relative to the MPC5604B doc, as:<br/>
 -bits [3:0] : BR field of the CTAR register (baud-rate base),<br/>
 -bits [5:4] : PBR field of the CTAR register (prescaler),<br/>
 -bit 6 : DBR field of the CTAR register (double baud-rate).<br/>
<br/>
</p>
<p>See the paragraph about baud rate on the quick start to MPC5604B document for more info on choosing DBR, BR and PBR field values.<br/>
 </p>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated on Mon Aug 19 2013 09:51:11 for SPI Driver by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.4 </li>
  </ul>
</div>
</body>
</html>
